﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Functions/Forms/Forms.master" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="HRDexCapstoneProject.Functions.Forms.WebForm1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainPage" runat="server">
    <div>
    <table align="center">
        <tr>
           <td colspan="5" style="font-size: xx-large">

                        <marquee>CBA FORM</marquee></td> 
        </tr>
        <tr>
            <td style="height: 40px">
                CBA Form Number:</td>
            <td colspan="4" rowspan="1" style="height: 40px">
                <asp:TextBox ID="txtCBAid" runat="server" Width="527px" 
                    style="text-align: left"></asp:TextBox>
                </td>
            </tr>
        <tr>
            <td>
            Student No.
            </td>
            <td>
                <asp:TextBox ID="txtStudentNo" runat="server" Width="216px"></asp:TextBox>
            </td>
            <td style="width: 83px">
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                &nbsp;</td>
            <td class="div-table-backbutton" style="width: 98px">
                Date</td>
            <td>
                <asp:TextBox ID="txtDate" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                Course</td>
            <td>
                <asp:DropDownList ID="dllCourse" runat="server" Height="16px" Width="223px" 
                    DataSourceID="catCourse" DataTextField="CourseName" DataValueField="CourseID">
                </asp:DropDownList>
                <asp:SqlDataSource ID="catCourse" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:HRmainConnectionString %>" 
                    SelectCommand="SELECT * FROM [catCourse]"></asp:SqlDataSource>
            </td>
            <td style="width: 83px">
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                &nbsp;</td>
            <td class="div-table-backbutton" style="width: 98px">
                Year</td>
            <td>
                <asp:DropDownList ID="ddlYear" runat="server" DataSourceID="Year" 
                    DataTextField="Year" DataValueField="YearID">
                </asp:DropDownList>
                <asp:SqlDataSource ID="Year" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:HRmainConnectionString %>" 
                    SelectCommand="SELECT * FROM [catYear]"></asp:SqlDataSource>
            </td>
        </tr>
            <tr>
            <td style="height: 40px">
                Employee No.</td>
            <td colspan="4" rowspan="1" style="height: 40px">
                <asp:TextBox ID="txtEmpNo" runat="server" Width="527px" 
                    style="text-align: left"></asp:TextBox>
                </td>
            </tr>
            <td>
                Name of Beneficiary</td>
            <td colspan="4" rowspan="1">
                <asp:TextBox ID="txtFullName" runat="server" Width="530px" 
                    style="text-align: left"></asp:TextBox>
                <br />
                <small><small><small>(Last Name, First Name Middle Name)</small></small></small></td>
            <tr>
            <td>
                Office/Department/College</td>
            <td colspan="4" rowspan="1">
                <br />
                <small><small><small>
                <small><small><small>
                <asp:DropDownList ID="ddlDept" runat="server" DataSourceID="Department" 
                    DataTextField="DepartmentName" DataValueField="DeptID" Height="17px" 
                    Width="283px">
                </asp:DropDownList>
                <small><small><small>
                <small><small>
                <asp:DropDownList ID="ddlCollege" runat="server" DataSourceID="College" 
                    DataTextField="CollegeName" DataValueField="CollegeID" Height="28px" 
                    Width="253px">
                </asp:DropDownList>
                <asp:SqlDataSource ID="College" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:HRmainConnectionString %>" 
                    SelectCommand="SELECT * FROM [catCollege]"></asp:SqlDataSource>
                </small></small></small></small></small>
                <asp:SqlDataSource ID="Department" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:HRmainConnectionString %>" 
                    SelectCommand="SELECT [DeptID], [DepartmentName] FROM [catDepartment]">
                </asp:SqlDataSource>
                </small></small></small>(Department, Office)</small></small></small></td>
            </tr>
        <tr>
            <td>
                Percentage Discount in
                t in
                <br />
                in the Fee?</td>
            <td colspan="4" rowspan=&nbsp; style="text-align: center">
                    
              
                <asp:TextBox ID="txtPercentageDiscount" runat="server" Width="529px" 
                    style="text-align: center"></asp:TextBox>
                    
              
                </td>
            </tr>
        <tr>
            <td>
                Ordinal Position</td>
            <td colspan="4" rowspan="1">
                    
              
                <asp:TextBox ID="txtSAMPLESAMPLE" runat="server" Width="530px"></asp:TextBox>
                    
              
                <asp:DropDownList ID="ddlPos" runat="server" DataSourceID="Position" 
                    DataTextField="catPositionsName" DataValueField="catPositionsID" Height="26px" 
                    Width="539px">
                </asp:DropDownList>
                    
              
                <asp:SqlDataSource ID="Position" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:HRmainConnectionString %>" 
                    SelectCommand="SELECT * FROM [catPositions]"></asp:SqlDataSource>
                    
              
            </td>
            </tr>
        <tr>
            <td>
                Cleared for</td>
            <td colspan="4" rowspan="1">
                <asp:TextBox ID="txtCleared" runat="server" Width="530px"></asp:TextBox>
            </td>
            </tr>
        <tr>
            <td>
                Enrollment </td>
            <td colspan="4" rowspan="1">
                <asp:TextBox ID="txtEnrollment" runat="server" Width="529px"></asp:TextBox>
            </td>
            </tr>
        <tr>
            <td>
                With</td>
            <td colspan="4" rowspan="1">
                <asp:TextBox ID="txtUnits" runat="server" Width="236px"></asp:TextBox>
            &nbsp;<small><small><small>unit/s failed/dropped/inc./no grade</small></small></small></td>
            </tr>
        <tr>
            <td>
                Attached Supporting Documents</td>
            <td colspan="3">
                <asp:FileUpload ID="fuAttachment" runat="server" />
            </td>
            <td>
                &nbsp;</td>
        </tr>
        </table>

    <div style="text-align: center">
                <asp:Button ID="btnSubmit" runat="server" Text="Submit" 
                    onclick="btnSubmit_Click" />
                <asp:Button ID="btnClose" runat="server" Text="Close" />
                <asp:Button ID="btnClear" runat="server" Text="Clear" />    
    </div>

        <table id="approval" align="right">
     <tr>
        <td>Human Resource Director</td>
        <td>
            <asp:DropDownList ID="ddlStatus" runat="server" DataSourceID="Approvalll" 
                DataTextField="ApprovalName" DataValueField="ApprovalIDHR" Height="30px" 
                Width="240px">
            </asp:DropDownList>
            <asp:SqlDataSource ID="Approvalll" runat="server" 
                ConnectionString="<%$ ConnectionStrings:HRmainConnectionString %>" 
                SelectCommand="SELECT * FROM [catApproval]"></asp:SqlDataSource>
                <asp:TextBox ID="txtStatus" runat="server" Width="236px"></asp:TextBox>
        </td>
    </tr>     
    </table>
</div>
</asp:Content>
